// townscript for town 25: Empire HQ (ruined)

begintownscript;

variables;

int i,j,choice;

body;

beginstate INIT_STATE;
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;

	if (get_flag(25,0) == 1)
			end();
		message_dialog("This is the Empire HQ after the battle you have seen. It is completely ruined. It is clear that Thralni really doesn't like the Empire.","By attacking the Empire headquarters, he disposed of an army that, when combined with the army at Fort Filbert, would overwhelm him.");
		set_flag(25,0,1);
	
	if (get_flag(17,2) == 1) {
			if (get_flag(25,1) == 1)
					end();
				message_dialog("You can't help but think about the man in that room that asked you to search his wife. wherever his wife is, you will have to tell her the bad news.","");
				set_flag(25,1,1);
				}

	if (get_flag(20,20) == 1) {
			if (get_flag(25,2) == 1)
					end();
				message_dialog("You managed to find wife of one of the leading officers of the Empire headquarters, but you are too late. The headquarters is destroyed.","");
				set_flag(25,2,1);
				}
break;

beginstate 10;
if (get_flag(25,3) == 1)
		end();
	message_dialog("Between all these corpses, some corpses seemed to regain life again. Four ghosts just hang around above their bodies. When they see you, they mistake you for the ones that killed them, and attack you.","");
	set_flag(25,3,1);
break;

beginstate 11;
if (get_flag(25,4) == 1)
		end();
	message_dialog("The stairs up to the second level of the fort have been blocked by boulders. Thralni really destroyed this place. He didn't leave even the smallest thing standing.","");
	set_flag(25,4,1);
break;

beginstate 12;
if (get_flag(25,5) == 1)
		end();
	message_dialog("Where previously there were sheep, there is now nothing. The gate has been broken, and the sheep were probably caught and killed.","");
	set_flag(25,5,1);
break;